mime/quotedprintable.Reader.line (field)
26 uses
mime/quotedprintable (current package)
reader.go#L20: line []byte // to be consumed before more of br
reader.go#L83: if len(r.line) == 0 {
reader.go#L87: r.line, r.rerr = r.br.ReadSlice('\n')
reader.go#L90: hasLF := bytes.HasSuffix(r.line, lf)
reader.go#L91: hasCR := bytes.HasSuffix(r.line, crlf)
reader.go#L92: wholeLine := r.line
reader.go#L93: r.line = bytes.TrimRightFunc(wholeLine, isQPDiscardWhitespace)
reader.go#L94: if bytes.HasSuffix(r.line, softSuffix) {
reader.go#L95: rightStripped := wholeLine[len(r.line):]
reader.go#L96: r.line = r.line[:len(r.line)-1]
reader.go#L98: !(len(rightStripped) == 0 && len(r.line) > 0 && r.rerr == io.EOF) {
reader.go#L103: r.line = append(r.line, '\r', '\n')
reader.go#L105: r.line = append(r.line, '\n')
reader.go#L110: b := r.line[0]
reader.go#L114: b, err = readHexByte(r.line[1:])
reader.go#L116: if len(r.line) >= 2 && r.line[1] != '\r' && r.line[1] != '\n' {
reader.go#L123: r.line = r.line[2:] // 2 of the 3; other 1 is done below
reader.go#L135: r.line = r.line[1:]
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |